package com.his.j259w264.pojo;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 处方表(Prescription)实体类
 *
 * @author EdgeYu
 * @since 2021-09-16 11:16:20
 */

@ApiModel(value = "Prescription", description = "处方表")
public class Prescription implements Serializable {
    private static final long serialVersionUID = -42787643446586069L;
    /**
     * 主键id
     */
    @ApiModelProperty(name = "id", notes = "主键id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 病历表id
     */
    @ApiModelProperty(name = "medicalRecordId", notes = "病历表id", dataType = "Integer", required = true)
    private Integer medicalRecordId;
    /**
     * 皮试状态
     */
    @ApiModelProperty(name = "skinTestState", notes = "皮试状态", dataType = "Integer", required = true)
    private Integer skinTestState;
    /**
     * 组号
     */
    @ApiModelProperty(name = "groupNo", notes = "组号", dataType = "String", required = true)
    private String groupNo;
    /**
     * 药品代码/药品名称
     */
    @ApiModelProperty(name = "drugCodeName", notes = "药品代码/药品名称", dataType = "String", required = true)
    private String drugCodeName;
    /**
     * 规格
     */
    @ApiModelProperty(name = "specification", notes = "规格", dataType = "String", required = true)
    private String specification;
    /**
     * 剂量
     */
    @ApiModelProperty(name = "dose", notes = "剂量", dataType = "Integer", required = true)
    private Integer dose;
    /**
     * 单位
     */
    @ApiModelProperty(name = "unit", notes = "单位", dataType = "String", required = true)
    private String unit;
    /**
     * 给药途径
     */
    @ApiModelProperty(name = "routeAdministration", notes = "给药途径", dataType = "String", required = true)
    private String routeAdministration;
    /**
     * 用法
     */
    @ApiModelProperty(name = "direction", notes = "用法", dataType = "String", required = true)
    private String direction;
    /**
     * 天数
     */
    @ApiModelProperty(name = "days", notes = "天数", dataType = "Integer", required = true)
    private Integer days;
    /**
     * 总量
     */
    @ApiModelProperty(name = "total", notes = "总量", dataType = "Integer", required = true)
    private Integer total;
    /**
     * 总单位
     */
    @ApiModelProperty(name = "totalUnit", notes = "总单位", dataType = "String", required = true)
    private String totalUnit;
    /**
     * 处方备注
     */
    @ApiModelProperty(name = "prescriptionRemark", notes = "处方备注", dataType = "String", required = true)
    private String prescriptionRemark;
    /**
     * 处方类型
     */
    @ApiModelProperty(name = "prescriptionType", notes = "处方类型", dataType = "String", required = true)
    private String prescriptionType;
    /**
     * 开具日期
     */
    @ApiModelProperty(name = "creationDate", notes = "开具日期", dataType = "Date", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creationDate;
    /**
     * 费用状态
     */
    @ApiModelProperty(name = "expenseState", notes = "费用状态", dataType = "Integer", required = true)
    private Integer expenseState;
    /**
     * 收据单号
     */
    @ApiModelProperty(name = "receiptNo", notes = "收据单号", dataType = "String", required = true)
    private String receiptNo;
    /**
     * 处方金额
     */
    @ApiModelProperty(name = "prescriptionAmount", notes = "处方金额", dataType = "Double", required = true)
    private Double prescriptionAmount;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMedicalRecordId() {
        return medicalRecordId;
    }

    public void setMedicalRecordId(Integer medicalRecordId) {
        this.medicalRecordId = medicalRecordId;
    }

    public Integer getSkinTestState() {
        return skinTestState;
    }

    public void setSkinTestState(Integer skinTestState) {
        this.skinTestState = skinTestState;
    }

    public String getGroupNo() {
        return groupNo;
    }

    public void setGroupNo(String groupNo) {
        this.groupNo = groupNo;
    }

    public String getDrugCodeName() {
        return drugCodeName;
    }

    public void setDrugCodeName(String drugCodeName) {
        this.drugCodeName = drugCodeName;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public Integer getDose() {
        return dose;
    }

    public void setDose(Integer dose) {
        this.dose = dose;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getRouteAdministration() {
        return routeAdministration;
    }

    public void setRouteAdministration(String routeAdministration) {
        this.routeAdministration = routeAdministration;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getTotalUnit() {
        return totalUnit;
    }

    public void setTotalUnit(String totalUnit) {
        this.totalUnit = totalUnit;
    }

    public String getPrescriptionRemark() {
        return prescriptionRemark;
    }

    public void setPrescriptionRemark(String prescriptionRemark) {
        this.prescriptionRemark = prescriptionRemark;
    }

    public String getPrescriptionType() {
        return prescriptionType;
    }

    public void setPrescriptionType(String prescriptionType) {
        this.prescriptionType = prescriptionType;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Integer getExpenseState() {
        return expenseState;
    }

    public void setExpenseState(Integer expenseState) {
        this.expenseState = expenseState;
    }

    public String getReceiptNo() {
        return receiptNo;
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo;
    }

    public Double getPrescriptionAmount() {
        return prescriptionAmount;
    }

    public void setPrescriptionAmount(Double prescriptionAmount) {
        this.prescriptionAmount = prescriptionAmount;
    }

}
